public class Demo2{
    //定义一个用户类，存放用户的账号、用户名和密码属性；
    private String name;
    private  int ures;
    private  int mima;
    public  void setName(String n){
        name =n;
    }
    public String getName(){
        return  name;
    }
    public  void setUres(int u){
        ures =u;
    }
    public int getures(){
        return  ures;
    }
    public  void setMima(int a){
        mima =a;
    }
    public int getMima(){
        return  mima;
    }
    public  void  show(){
        System.out.println(name+","+ures+","+mima);
    }

}

